import java.util.Set;

public interface Person {

		static final char MALE = 'M';
		static final char FEMALE = 'F';
	
		// name
		String getName();
		void setName(String name);
		
		//ssn
		long getSSN();
		void setSSN(long ssn);
		
		// gender
		char getGender();
		void setGender(char gender);
			
		// add relationships
		void addParent(Person parent);
		void addChild(Person child);
		void setSpouse(Person spouse);
		
		Set getChildren();
		Set getParents();
		Person getSpouse();
			
		// returns true if the person is married
		boolean hasSpouse();		
		// returns true if the person is related, false otherwise
		boolean isRelated(Person person);		
	
}
